import request from '@/utils/request'

// 案件合同记录列表
export function contractLists(params?: Record<string, any>) {
    return request.get({ url: '/contract/list', params })
}

// 案件合同记录详情
export function contractDetail(params: Record<string, any>) {
    return request.get({ url: '/contract/detail', params })
}

// 案件合同记录新增
export function contractAdd(params: Record<string, any>) {
    return request.post({ url: '/contract/add', params })
}

// 案件合同记录编辑
export function contractEdit(params: Record<string, any>) {
    return request.post({ url: '/contract/edit', params })
}

// 案件合同记录删除
export function contractDelete(params: Record<string, any>) {
    return request.post({ url: '/contract/del', params })
}

// 查看合同
export function viewSigningDetails(params: Record<string, any>) {
    return request.post({ url: '/file/viewSigningDetails', params })
}
